package com.mayikt.pay.service;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.mayikt.base.BaseResponse;
import com.mayikt.weixin.out.dto.PayMentTransacDTO;

/**

 */
@Api(tags = "PayMentTransacInfoService",description = "交易信息服务")
public interface PayMentTransacInfoService {
	@ApiOperation("通过token获取交易信息")
	@GetMapping("/tokenByPayMentTransac")
	public BaseResponse<PayMentTransacDTO> tokenByPayMentTransac(@RequestParam("token") String token);

	/**
	 * /**通过paymentId 改变订单状态
	 * @param orderId
	 * @param status
	 * @return
	 */
	int updateStaByorderId(String orderId, int status);
}
